/* ****************************************************************
   ****************************************************************
   * Com++ Professional (c) 2009 C++ World
   * http://www.cplusplusworld.com/ mailto:compp@cplusplusworld.com
   ****************************************************************
   ****************************************************************
*/

#ifndef  _CLONEH
#define _CLONEH

#include "ComPlusPlus/Process.h"
#include <string>

namespace compp {

class Clone : public compp::Process {

private:

protected:

    bool IsRunning ;


public:

  Clone(const std::string & newmcd) ;
  Clone() ;
  ~Clone() ;
  int Start();
  
  void SetCommand (const std::string &cmdargs = "" );
/*   virtual int Spawn( const std::string &cmdargs = "" ); */

  virtual int  Run ( ) ;

};
}
#endif

